<%= form_for(@maquina_fisica) do |f| %>
  <% if @maquina_fisica.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@maquina_fisica.errors.count, "error") %> prohibited this maquina_fisica from being saved:</h2>

      <ul>
      <% @maquina_fisica.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :clock %><br />
    <%= f.text_field :clock %>
  </div>
  <div class="field">
    <%= f.label :memoriaprimaria %><br />
    <%= f.number_field :memoriaprimaria %>
  </div>
  <div class="field">
    <%= f.label :memoriasecundaria %><br />
    <%= f.number_field :memoriasecundaria %>
  </div>
  <div class="field">
    <%= f.label :espacoarmazenamento %><br />
    <%= f.number_field :espacoarmazenamento %>
  </div>
  <div class="field">
    <%= f.label :nome %><br />
    <%= f.text_field :nome %>
  </div>
  <div class="field">
    <%= f.label :sistemaoperacional %><br />
    <%= f.text_field :sistemaoperacional %>
  </div>
  <div class="field">
    <%= f.label :cores %><br />
    <%= f.number_field :cores %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
